<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar >
    <ion-title text-center>用户登录</ion-title>
    <ion-buttons>
      <button ion-button (click)="dismiss()">
        <ion-icon name="arrow-back"></ion-icon>
      </button> 
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content >
<ion-list>
  <ion-item>
    <ion-label stacked>手机号码</ion-label>
    <ion-input type="text" [(ngModel)]="mobile"></ion-input>
  </ion-item>

  <ion-item>
      <ion-label stacked>密码</ion-label>
      <ion-input type="password" [(ngModel)]="password"></ion-input>
    </ion-item>
</ion-list>
<div padding>
  <button ion-button color="primary" block (click)="login()">登 录</button>
</div>
<div padding text-center>
  <button ion-button color="primary" outline (click)="pushRegisterPage()">没有账号？注册</button>
</div>

</ion-content>
